#include "head.h"

//客户端ls函数
//参数：sockfd文件描述符，address访问的目录 
void ls(int sockfd){
    //
    char buffer[4096] = {0};
    // 接收服务器响应
    char buf[30] = {0};
    int num= recv(sockfd, buffer,sizeof(buffer), 0);
    sprintf(buf, "num:%d", num);
    printf("%s\n",buffer);
}

